// 导入封装的网络请求模块实例
import http from '../utils/http'

/**
 * @description 获取商品分类的数据
 * @returns Promise
 */
export const getGoodDataList = (data) => {
  return http.get('/api/product/search',data)
}

export const reqGoodsInfo = (id) => {
  return http.get(`/api/product/detail/${id}`)
}
